home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / vol7n6.arc / CALC.DOC < prev    next >
Text File  |  1988-03-01  |  2KB  |  39 lines

  1. «MDUL»«MDNM»
  2. CALC
  3. Command
  4.  
  5. Douglas Boling                     1988 No. 5 (Utilities)
  6.  
  7.  
  8. Purpose:    A pop-up programmer's calculator with base conversion, 
  9. bit-shifting, logical operator, and mod functions, and 32-bit number
  10. representation that also supports a 2-decimal place integer arithmetic
  11. calculations.
  12.  
  13. Format:        [d:][\path]CALC 
  14.  
  15. Remarks:    CALC is a terminate-stay-resident (TSR) program that can be
  16. loaded either at the DOS command line or as a part of an AUTOEXEC.BAT file.  
  17. The Alt-S key combination (default) pops up a 6-line window for calculations;
  18. the Esc key restores the screen to its previous condition.  The program
  19. accomodates automatically to monochrome, CGA, or EGA displays.
  20.  
  21.     Any number on CALC's entry line can be successively converted to
  22. hexadecimal, binary, octal, or decimal (default) notion by pressing F1.  
  23. Mixed-base calculations are supported, and the +, -, *, and / function
  24. conventionally so long as it is realized that CALC operates in integer, not
  25. floating point mode.  (Fixed 2-decimal place calculations can be made by
  26. pressing F2 before entering the numbers.)  In integer mode the mod function
  27. (e.g. 25 mod 8 = 1) is also supported, using either the % or the \ sign as the
  28. operator.
  29.  
  30.     CALC uses full 32-bit number representation, and so can be used for
  31. address calculations.  The function keys F3, F4, and F5, perform logical and,
  32. or, xor operations between two numbers.  F6 performs a not (invert) function on
  33. the number entered.  F7 shifts bits left and F8 shifts right.  F9 is a 
  34. change-sign key, and F10 clears the entry line.  To clear the calculator field,
  35. press Shift-F10.
  36.  
  37.     Instructions on modifying the default hot-key and colors are presented,
  38. with appropriate tables of possible values, in a sidebar to the main article.
  39.